﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Southridge.View;
using Southridge.Data;

namespace Southridge.View
{
    public class NewProfileViewModel : ViewModelBase 
    {
        Profile _profile;

        public NewProfileViewModel(Profile profile)
        {
            _profile = profile; 
        }
 
        public Profile Profile
        {
            get
            {
                return _profile; 
            }
        }

        public PreferencesEditorViewModel PreferencesEditorViewModel
        {
            get
            {
                return new PreferencesEditorViewModel(_profile.Preference); 
            } 
        } 
    }
}
